package com.framework.entity.sys;

import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 功能描述: 信用卡申请信息
 *
 * @author ck
 * @date 2018/10/15 19:05
 */
@Data
@ApiModel(value = "SysCard")
public class SysCard {
	/**
	 * 主键id
	 */
	@TableId
	@ApiModelProperty(hidden = true)
	private Long cardId;
	/**
	 * 信用卡类型
	 */
	@ApiModelProperty(value = "信用卡类型" , required = true)
	private String bankType;
	/**
	 * 申请人
	 */
	@ApiModelProperty(value = "申请人" , required = true)
	private String proName;
	/**
	 * 申请时间
	 */
	@ApiModelProperty(hidden = true)
	private Date proDate;
	/**
	 * 录入时间
	 */
	@ApiModelProperty(hidden = true)
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 状态  AUDIT：审核中 FAIL：失败 SUCCESS:成功
	 */
	@ApiModelProperty(hidden = true)
	private String cardState;
	/**
	 * 所属代理商
	 */
	@ApiModelProperty(value = "所属代理商" , required = true)
	private Long agentId;
	/**
	 * 身份证号码
	 */
	@ApiModelProperty(value = "身份证号码" , required = true)
	private String sfzId;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号码" , required = true)
	private String phone;
	/**
	 * 核卡状态
	 */
	@ApiModelProperty(hidden = true)
	private String nuclearCard;

}
